package org.slsale.service.user;

import javax.annotation.Resource;

import org.slsale.dao.user.UserDao;
import org.slsale.pojo.User;
import org.springframework.stereotype.Service;
@Service("userService")
public class UserServiceImpl implements UserService{
	
	@Resource
	private UserDao userDao;

	public int loginCodeIsExit(User user) {
		return userDao.loginCodeIsExit(user);
	}

	public User getLoginUser(User user) {
		return userDao.getLoginUser(user);
	}

	public int modifyUser(User user) {
		return userDao.modifyUser(user);
	}

}
